<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        let promise = Promise.resolve('aaa')
        let promise1 = Promise.reject('bbb')
        let promise2 = Promise.reject('ccca')
        Promise.all([promise, promise1, promise2]).then(res => {
            console.log(res);
        }).catch(err =>{
            // console.log(err);
        })
    </script>
</head>
<body>
    
</body>
</html>